package com.nuanshui.heatedloan.module.features;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.alibaba.dubbo.config.annotation.Reference;
import com.nuanshui.heatedloan.baseservice.facade.ImageService;
import com.nuanshui.heatedloan.constant.GlobalParam;
import com.nuanshui.heatedloan.constant.TransactionManagerType;
import com.nuanshui.heatedloan.module.model.FeatureAttribute;
import com.nuanshui.heatedloan.module.model.ModuleIdConstant;

@Service
@FeatureAttribute(moduleId = ModuleIdConstant.KEBOHUI_WECHAT_OFFICIAL_ACCOUNTS)
@Transactional(readOnly = true,value=TransactionManagerType.MODULE_TRANSACTION_MANAGER)
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class WechatOfficialAccountsFeature extends BaseFeature{


	@Reference(url = GlobalParam.BASESERVICE_DUBBO_SERVER, timeout = GlobalParam.DUBBO_SERVER_TIME_OUT,version = GlobalParam.BASESERVICE_DUBBO_SERVER_VERSION)
	private ImageService imageService;
	
	protected void internalHandleFeature() {
	}
	
	@Override
	public int getModuleId()
	{
		return ModuleIdConstant.KEBOHUI_WECHAT_OFFICIAL_ACCOUNTS;
	}
}
